#!/bin/bash
#check return value
cd source
echo "Compiling Client Java code..."
./compile_client
if [ $? -ne "0" ]; then
    echo "Failed compiling Client Java code"
    exit 1
fi

cp *.jar ../binary
cd ..
